<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:include="~{main/index :: nav}"></div>
<h4>更新学生</h4>
<hr>
<div>
    <form action='/stu/doUpdate' method='post'>
        <p>学生学号:<input type='text' name='id' th:value="${session.user.uid}"  readonly></p>
        <p>学生姓名:<input type='text' name='name' th:value=" ${session.user.uname}"></p>
        <p>学生手机:<span th:text="${session.user.phone}"/></p>
        <p>学生密码:<input type='text' name='pwd' th:value="${session.user.pwd}"></p>
        <p>所在班级:<span th:text="${session.user.clz.clzno}+'  '+${session.user.clz.clzname}"/></p>
        <p><input type='submit' value='更新学生'></p>
    </form>
</div>

</body>
</html>